package cn.xgj.sfzy.entity;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class Article {

  private Integer articleId;
  private String articleName;
  private String articleIntro;
  private Integer consultId;
  private String articlePicture;
  private String articleDetails;
  private Integer articleRead;
  private Integer articleLike;
  private Integer articleTypeId;
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
  private Date articleCreatTime;
  private ArticleType articleType;

  private Consult consult;


}
